<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you under the Apache License,
 ~ Version 2.0 (the "License"); you may not use this file except
 ~ in compliance with the License.
 ~ You may obtain a copy of the License at
 ~
 ~    http://www.apache.org/licenses/LICENSE-2.0
 ~
 ~ Unless required by applicable law or agreed to in writing,
 ~ software distributed under the License is distributed on an
 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 ~ KIND, either express or implied.  See the License for the
 ~ specific language governing permissions and limitations
 ~ under the License.
 -->
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
  <title>Reporting - User Guide</title>
  <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all"/>
</head>

<body>
<h1>Reports</h1>
<p><span style="color: black;">First you need to create a report template according to your report structure.
You can use a report template designer(e.g <a href="">iReport</a>) to generate this templates.
</span></p>

<ol>
    <li><h2><i>Using your own report design  - Custom Template</i></h2></li>
    <br/><br/>
<ol>
    <li>Add your Custom report template.</li>
    <li>In the navigation under Tools click <span style="font-weight: bold;"> Reports -> Add -> Custom Report</span></li>
    <li>Add Report Template page appears.</li>
    <img src="images/add-report.png" alt="Add Report Template page"/>
    <p>Figure 1. Add Report Template page</p>
    <li>Click on <span style="font-weight: bold;">Reports -> List</span> , after you will see the available reports list</li>
    <li>Reports list page appears.</li>
    <img src="images/list-report.png" alt="Reports list"/>
    <p>Figure 2. Reports List</p>
    <li>If you want to update the template ,click on the <span style="font-weight: bold;">Edit</span> icon.</li>
    <li>Report Editor page appears.</li>
    <img src="images/edit-report.png" alt="Reports Editor"/>
    <p>Figure 3. Report Editor</p>
    <li>Click on the report name , then you will see the report generation page.</li>
    <li>Select Datasource and report Type. (If you haven't configured a datasource please follow the the guide to create a
        new <a href="../../datasource/docs/userguide.html">Datasource</a> )</li>
    <li>Generate Report page appears.</li>
    <img src="images/generate-report.png" alt="Report Generate"/>
    <p>Figure 4. Generate Report</p>
    <li>Click on the <span style="font-weight: bold;">Generate Report</span> button to generate the report.</li>
</ol>
    <br/><br/><br/>

    <li><h2><i>Using Default Report Templates</i></h2></li>
    <p><span style="color: black;">You can also use the report templates which are inbuilt with WSO2 server,
        and follow the instructions provided in the UI. Follow instruction given <a href="../../reporting-template/docs/userguide.html"> Reports using report templates</a>
        to add reports using templates.
    </span></p>

    <br/><br/><br/>

</ol>

</body>
</html>